package com.mzj.saas.mservice.lockManager.entity;

import com.mzj.saas.commons.IdEntity;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 智能锁品牌
 */
@Entity
@Table(name = "saas_smart_lock_brand")
public class SmartLockBrand extends IdEntity {
	@Basic
	@Column(name = "name", nullable = true)
	private String name; // 品牌名称

	@Basic
	@Column(name = "logo_path", nullable = true)
	private String logoPath; // 品牌logo地址

	@Basic
	@Column(name = "status", nullable = true)
	private Integer status; // 状态：0禁用 1激活

	@Basic
	@Column(name = "del_status", nullable = true)
	private Integer delStatus; // 删除状态：1正常 2已删除

	@Basic
	@Column(name = "card_number_status", nullable = true)
	private Integer cardNumberStatus; // 是否支持卡次数设置：0不支持 1支持

	@Basic
	@Column(name = "dynamic_password_status", nullable = true)
	private Integer dynamicPasswordStatus; // 是否支持动态密码设置：0不支持 1支持

	@Basic
	@Column(name = "max_times_number", nullable = true)
	private Integer maxTimesNumber; // 次数授权最大允许设置次数

	@Basic
	@Column(name = "fingerprint_status", nullable = true)
	private Integer fingerprintStatus; // 是否支持指纹:0不支持 1支持

	@Basic
	@Column(name = "ble_status", nullable = true)
	private Integer bleStatus; // 是否支持蓝牙:0不支持 1支持

	@Basic
	@Column(name = "fingerprint_model", nullable = true)
	private String fingerprintModel; // 指纹收集器型号

	@Basic
	@Column(name = "remote_upgrade", nullable = true)
	private Integer remoteUpgrade; // 是否支持升级:0否 1是

	@Basic
	@Column(name = "low_power_set", nullable = true)
	private Integer lowPowerSet; // 是否支持低电量告警设置：0不支持 1支持

	@Basic
	@Column(name = "volume_set", nullable = true)
	private Integer volumeSet; // 是否支持音量调节设置：0不支持 1支持

	@Basic
	@Column(name = "stranger_open_alarm", nullable = true)
	private Integer strangerOpenAlarm; // 是否支持陌生人试开告警：0不支持 1支持

	@Basic
	@Column(name = "pick_proof_alarm", nullable = true)
	private Integer pickProofAlarm; // 是否支持防撬告警：0不支持 1支持

	@Basic
	@Column(name = "duress_alarm", nullable = true)
	private Integer duressAlarm; // 是否支持胁迫告警：0不支持 1支持

	@Basic
	@Column(name = "factory_reset", nullable = true)
	private Integer factoryReset; // 是否支持恢复出厂设置：0不支持 1支持
	@Basic
	@Column(name = "sid", nullable = true)
	private String sid;// 第三方标识

	@Basic
	@Column(name = "sercret", nullable = true)
	private String sercret;// 密钥

	@Basic
	@Column(name = "api_url", nullable = true)
	private String apiUrl;// API接口地址

	@Basic
	@Column(name = "create_time", nullable = true)
	private Date createTime; // 创建时间

	@Basic
	@Column(name = "qrcode_type", nullable = true)
	private Integer qrcodeType; // 设备录入码类型: 1二维码 2条形码

	@Basic
	@Column(name = "qrcode_length", nullable = true)
	private Integer qrcodeLength; // 设备录入码长度

	public Integer getBleStatus() {
		return bleStatus;
	}

	public void setBleStatus(Integer bleStatus) {
		this.bleStatus = bleStatus;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getLogoPath() {
		return logoPath;
	}

	public void setLogoPath(String logoPath) {
		this.logoPath = logoPath;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getRemoteUpgrade() {
		return remoteUpgrade;
	}

	public void setRemoteUpgrade(Integer remoteUpgrade) {
		this.remoteUpgrade = remoteUpgrade;
	}

	public Integer getLowPowerSet() {
		return lowPowerSet;
	}

	public void setLowPowerSet(Integer lowPowerSet) {
		this.lowPowerSet = lowPowerSet;
	}

	public Integer getVolumeSet() {
		return volumeSet;
	}

	public void setVolumeSet(Integer volumeSet) {
		this.volumeSet = volumeSet;
	}

	public Integer getStrangerOpenAlarm() {
		return strangerOpenAlarm;
	}

	public void setStrangerOpenAlarm(Integer strangerOpenAlarm) {
		this.strangerOpenAlarm = strangerOpenAlarm;
	}

	public Integer getPickProofAlarm() {
		return pickProofAlarm;
	}

	public void setPickProofAlarm(Integer pickProofAlarm) {
		this.pickProofAlarm = pickProofAlarm;
	}

	public Integer getDuressAlarm() {
		return duressAlarm;
	}

	public void setDuressAlarm(Integer duressAlarm) {
		this.duressAlarm = duressAlarm;
	}

	public Integer getFactoryReset() {
		return factoryReset;
	}

	public void setFactoryReset(Integer factoryReset) {
		this.factoryReset = factoryReset;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getSid() {
		return sid;
	}

	public void setSid(String sid) {
		this.sid = sid;
	}

	public String getSercret() {
		return sercret;
	}

	public void setSercret(String sercret) {
		this.sercret = sercret;
	}

	public Integer getDelStatus() {
		return delStatus;
	}

	public void setDelStatus(Integer delStatus) {
		this.delStatus = delStatus;
	}

	public String getApiUrl() {
		return apiUrl;
	}

	public void setApiUrl(String apiUrl) {
		this.apiUrl = apiUrl;
	}

	public Integer getFingerprintStatus() {
		return fingerprintStatus;
	}

	public void setFingerprintStatus(Integer fingerprintStatus) {
		this.fingerprintStatus = fingerprintStatus;
	}

	public String getFingerprintModel() {
		return fingerprintModel;
	}

	public void setFingerprintModel(String fingerprintModel) {
		this.fingerprintModel = fingerprintModel;
	}

	public Integer getCardNumberStatus() {
		return cardNumberStatus;
	}

	public void setCardNumberStatus(Integer cardNumberStatus) {
		this.cardNumberStatus = cardNumberStatus;
	}

	public Integer getMaxTimesNumber() {
		return maxTimesNumber;
	}

	public void setMaxTimesNumber(Integer maxTimesNumber) {
		this.maxTimesNumber = maxTimesNumber;
	}

	public Integer getQrcodeType() {
		return qrcodeType;
	}

	public void setQrcodeType(Integer qrcodeType) {
		this.qrcodeType = qrcodeType;
	}

	public Integer getQrcodeLength() {
		return qrcodeLength;
	}

	public void setQrcodeLength(Integer qrcodeLength) {
		this.qrcodeLength = qrcodeLength;
	}

	public Integer getDynamicPasswordStatus() {
		return dynamicPasswordStatus;
	}

	public void setDynamicPasswordStatus(Integer dynamicPasswordStatus) {
		this.dynamicPasswordStatus = dynamicPasswordStatus;
	}

}
